package common.store.web.service;

import common.store.web.bean.Product;
import common.store.web.bean.User;
import common.store.web.vo.PageVo;

import java.util.List;

public interface ProductService {


    PageVo getPageVoByCurrentPageAndMaxCount(Integer currentPage, Integer maxCount,String cid);

    Product getProductByPid(String pid);

    List<Product> getHotProduct();

    List<Product> getProductsByWord(String word);

    Integer addCartByPid(Product product);

    List<Product> getProductsByuser(String uid);
}
